package com.biz.primus.commodity.vo.backend;


import javax.validation.constraints.NotNull;

/**
 * @author 江南
 * @date 2017/1/24
 * @reviewer
 */
public class SoldOutProductVo implements IRequestVo {

    private static final long serialVersionUID = 4304937288256296212L;

    @NotNull
    private Long id;
    /**
     * 商品ID
     */
    @NotNull
    private String productId;

    /**
     * 商家ID
     */
    @NotNull
    private String vendorId;

    @NotNull
    private String productCode;

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getVendorId() {
        return vendorId;
    }

    public void setVendorId(String vendorId) {
        this.vendorId = vendorId;
    }

    @Override
    public String toString() {
        return "SoldOutProductVo{" +
                "productId='" + productId + '\'' +
                ", vendorId='" + vendorId + '\'' +
                '}';
    }
}
